package com.meida.module.bus.client.entity.srmapi.srmtopms;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.meida.module.bus.client.entity.srmapi.psmtosrm.PMSResultBody;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 需求申请接口Res
 *
 * @author both
 * @date 2020-09-26
 * *  *
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "importObject", description = "需求申请接口ResSub")
@EqualsAndHashCode(callSuper = false)
@ToString
public class SrmPms01ResSub implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("PMS材料申请计划ID")
    @JsonProperty("purchaseId")
    private Long purchaseId;

    @ApiModelProperty("需求计划单ID")
    private Long planId;

    @ApiModelProperty("需求计划单号")
    private String planNo;

    @ApiModelProperty("需求申请接口Res-detail")
    private List<SrmPms01ResDetail> detail;
}
